package com.niiwoo.civet.base.utils;

/**
 * @author: liaozuliang
 * @date: 2018/5/15
 */
public class ProjectInfoUtil {

    /**
     * 标的借款用途
     * @return
     */
    public static String getLoanUsage(String title) {
        if (title == null) {
            return "借款用途：";
        }

        title = title.trim().replaceAll("借款用于", "");
        if (title.startsWith("借款用途：")) {
            return title;
        }

        return "借款用途：".concat(title);
    }
}
